package com.genghis.ptas.inbox.service;

import com.genghis.ptas.inbox.entity.Inbox;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: gaoyang
 * To change this template use File | Settings | File Templates.
 */
public interface InboxService {
    int addInbox(Inbox inbox);

    void delInbox(String ids);

    List<Inbox> listAllInbox(HttpServletRequest request, Inbox inbox);

    Inbox findInboxById(int id);

    void changeMassageState(String state, String ids);

    int countInboxCategory(Inbox inbox);

    void changeMassageCategory(String category, String ids);

    void delMassage(String ids);

    void addSentInbox(Inbox inbox);

}
